@use "@/assets/scss/index.scss" as globalVar;
$darkgray_999: #999999;
$white_ffffff: #ffffff;

.example-showcase {
  .el-dropdown-link {
    align-items: center;
    color: globalVar.$color-green-01;
    cursor: pointer;
    display: flex;
  }
}

$white_ffffff: #ffffff;

.s-layout-sider {
  transition: all 0.2s;
  > .el-menu {
    border-right: none;
    height: calc(100vh - 100px);
    width: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    border-bottom: 1px solid $darkgray_999;
    border-top: 1px solid $darkgray_999;

    > .el-menu-item {
      &.is-active {
        background-color: globalVar.$color-background-02;
      }
    }

    .el-sub-menu {
      .el-menu-item {
        background-color: globalVar.$color-background-00;

        &.is-active {
          background-color: globalVar.$color-background-02;
        }
      }
    }

    &::-webkit-scrollbar {
      display: none;
    }
  }
}

.s-layout-sider__logo {
  height: 50px;
  line-height: 50px;
  background-color: globalVar.$color-background-01;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;

  img {
    height: 30px;
    width: 100%;
  }
}

.s-layout-sider__userinfo {
  height: 50px;
  line-height: 50px;
  background-color: globalVar.$color-background-01;
  color: $white_ffffff;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  align-items: center;

  .el-icon {
    cursor: pointer;
  }
}

.s-layout-sider__userinfo--avatar {
  align-items: center;
  cursor: pointer;
  display: flex;
}

.s-layout-sider__userinfo--username {
  font-size: 14px;
  margin-left: 8px;
}
